package com.cloudkinto.service.cost.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class CostWorkAddReq {

    @ApiModelProperty("工单类型 正在考虑天id 还是value")
    private String orderType;
    @ApiModelProperty("oms单据号")
    private String orderNo;
    @ApiModelProperty("oms单据号id")
    private Long orderId;
    @ApiModelProperty("仓库")
    private Long whId;
    @ApiModelProperty("客户id")
    private Long companyId;
    //    @ApiModelProperty("tenant_id")
//    private Long tenantId;
    @ApiModelProperty("oms单据创建时间")
    private Date omsOrderCreateTime;
    @ApiModelProperty("总金额")
    private BigDecimal costTotal;
    @ApiModelProperty("币种")
    private String currencyCode;

    @ApiModelProperty("0实扣 1预扣")
    private Integer status;

    private List<CostWorkItemAddReq> items;
}
